package com.esms.bean;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Enterprise entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Enterprise implements java.io.Serializable {

	// Fields

	private Integer enterpriseId;
	private String name;
	private String representative;
	private String representativeId;
	private String representativePhone;
	private Date createdate;
	private String phone;
	private Double capital;
	private String category;
	private String industry;
	private String description;
	private Integer personid;
	private Integer orgdeptcode;
	private String status;
	private Double progress;
	private Set employees = new HashSet(0);
	private Set contracts = new HashSet(0);

	// Constructors

	/** default constructor */
	public Enterprise() {
	}

	/** minimal constructor */
	public Enterprise(String name, String representative,
			String representativeId, String representativePhone,
			Date createdate, String phone, Double capital, String category,
			String industry, Integer orgdeptcode) {
		this.name = name;
		this.representative = representative;
		this.representativeId = representativeId;
		this.representativePhone = representativePhone;
		this.createdate = createdate;
		this.phone = phone;
		this.capital = capital;
		this.category = category;
		this.industry = industry;
		this.orgdeptcode = orgdeptcode;
	}

	/** full constructor */
	public Enterprise(String name, String representative,
			String representativeId, String representativePhone,
			Date createdate, String phone, Double capital, String category,
			String industry, String description, Integer personid,
			Integer orgdeptcode, String status, Double progress, Set employees,
			Set contracts) {
		this.name = name;
		this.representative = representative;
		this.representativeId = representativeId;
		this.representativePhone = representativePhone;
		this.createdate = createdate;
		this.phone = phone;
		this.capital = capital;
		this.category = category;
		this.industry = industry;
		this.description = description;
		this.personid = personid;
		this.orgdeptcode = orgdeptcode;
		this.status = status;
		this.progress = progress;
		this.employees = employees;
		this.contracts = contracts;
	}

	// Property accessors

	public Integer getEnterpriseId() {
		return this.enterpriseId;
	}

	public void setEnterpriseId(Integer enterpriseId) {
		this.enterpriseId = enterpriseId;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getRepresentative() {
		return this.representative;
	}

	public void setRepresentative(String representative) {
		this.representative = representative;
	}

	public String getRepresentativeId() {
		return this.representativeId;
	}

	public void setRepresentativeId(String representativeId) {
		this.representativeId = representativeId;
	}

	public String getRepresentativePhone() {
		return this.representativePhone;
	}

	public void setRepresentativePhone(String representativePhone) {
		this.representativePhone = representativePhone;
	}

	public Date getCreatedate() {
		return this.createdate;
	}

	public void setCreatedate(Date createdate) {
		this.createdate = createdate;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public Double getCapital() {
		return this.capital;
	}

	public void setCapital(Double capital) {
		this.capital = capital;
	}

	public String getCategory() {
		return this.category;
	}

	public void setCategory(String category) {
		this.category = category;
	}

	public String getIndustry() {
		return this.industry;
	}

	public void setIndustry(String industry) {
		this.industry = industry;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Integer getPersonid() {
		return this.personid;
	}

	public void setPersonid(Integer personid) {
		this.personid = personid;
	}

	public Integer getOrgdeptcode() {
		return this.orgdeptcode;
	}

	public void setOrgdeptcode(Integer orgdeptcode) {
		this.orgdeptcode = orgdeptcode;
	}

	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Double getProgress() {
		return this.progress;
	}

	public void setProgress(Double progress) {
		this.progress = progress;
	}

	public Set getEmployees() {
		return this.employees;
	}

	public void setEmployees(Set employees) {
		this.employees = employees;
	}

	public Set getContracts() {
		return this.contracts;
	}

	public void setContracts(Set contracts) {
		this.contracts = contracts;
	}

}